<%@ taglib prefix="c"   uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body>
<c:if test="${!empty param.variable}">
	<%  session.setAttribute(request.getParameter("variable"),request.getParameter("value") ); %>
	changed
</c:if>
From changevars
<script>
	alert("caricato");
</script>
</body>
</html>